package com.liuxing.doctor.dto;

import com.liuxing.doctor.entity.MedicalRecord;
import com.liuxing.doctor.entity.Patient;
import com.liuxing.doctor.entity.Prescription;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * @author 行柳
 * 学习使用
 */

//用于xml解析
@XmlRootElement(name = "patientInfoDto")
@XmlAccessorType(XmlAccessType.FIELD)
public class PatientInfoDto {
    private Patient patient;
    private MedicalRecords medicalRecords;
    private PatientPrescriptions patientPrescriptions;

    public Patient getPatient () {
        return patient;
    }

    public void setPatient (Patient patient) {
        this.patient = patient;
    }

    public MedicalRecords getMedicalRecords () {
        return medicalRecords;
    }

    public void setMedicalRecords (MedicalRecords medicalRecords) {
        this.medicalRecords = medicalRecords;
    }

    public PatientPrescriptions getPatientPrescriptions () {
        return patientPrescriptions;
    }

    public void setPatientPrescriptions (PatientPrescriptions patientPrescriptions) {
        this.patientPrescriptions = patientPrescriptions;
    }
}
